
#include<iostream>
#include<vector>

#include "commontools/myutil.h"
#include "commontools/stdafx.h"

#include "commontools/dict.h"
#include "commontools/stemmer.h"

using namespace std;
int main()
{
	cout << "hello word" << endl;

	cout << "======================" << endl;

	Dict d("tmp.txt");

	while(1)
	{
		char tmp[120];
		scanf("%s", tmp);

		auto s = d.getExplains(string(tmp));
		
		for (auto & m: s)
		{
			cout << m << "-";
		}
		cout << endl;
	}
}

